Add support for gentoo-freebsd.
authorrobertl <robertl>
Thu, 22 May 2008 07:41:23 +0000 (07:41 +0000)
committerrobertl <robertl>
Thu, 22 May 2008 07:41:23 +0000 (07:41 +0000)
configure
configure.in

index 4e3ea62e6b5349491243f448bacb7aeccbfc2b35..f2bd7042a4a7b362fde49683cefb1ed71eacb1e4 100755 (executable)
--- a/configure
+++ b/configure
@@ -4354,6 +4354,8 @@ else
                        xpathdr=/sw/include/
                fi
                ;;
+       *-gentoo-freebsd*)
+               ;;
        *-*-freebsd*)
                if test -f /usr/local/include/expat.h ; then
                        xpathdr=/usr/local/include
@@ -4426,6 +4428,9 @@ _ACEOF
 
                fi
                ;;
+       *-gentoo-freebsd*)
+               EXPAT_LIB=-lexpa
+               ;;
        *-*-freebsd*)
                if test -f /usr/local/lib/libexpat.a ; then
                        EXPAT_LIB=/usr/local/lib/libexpat.a
index 50701149cb0c2ddeb3a9f6495043560ff2f1fce5..c60efabf63cd305b9d960c55309ac76fad18b303 100644 (file)
@@ -225,6 +225,8 @@ AC_ARG_WITH(expathdr,
                        xpathdr=/sw/include/
                fi
                ;;
+       *-gentoo-freebsd*)
+               ;;
        *-*-freebsd*)
                if test -f /usr/local/include/expat.h ; then
                        xpathdr=/usr/local/include
@@ -279,6 +281,9 @@ AC_ARG_WITH(libexpat,
                          AC_SUBST(EXPAT_LIB)
                fi                              
                ;;
+       *-gentoo-freebsd*)
+               EXPAT_LIB=-lexpa
+               ;;
        *-*-freebsd*)
                if test -f /usr/local/lib/libexpat.a ; then
                        EXPAT_LIB=/usr/local/lib/libexpat.a